package com.xlisteven.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 产品
 *
 * @author xlisteven
 * @date 2022/09/28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_product")
public class Product {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String pName;

    private double price;

    private String pDesc;

    private Long userId;
}
